LEADTOOLS JPEG 2000 (Leadtools.Jpeg2000 assembly)
LEAD Technologies, Inc

AppendBoxes<T>(String,List<T>) Method






System.String containing the name of the JPEG 2000 file.
A list of Jpeg2000MultiBox objects containing the box data being appended.
Appends multiple boxes to a JPEG 2000 file. This method is available in the Document/Medical Toolkits.
Syntax
public void AppendBoxes<T>( 
   string fileName,
   List<T> boxes
)
where T: Jpeg2000MultiBox
'Declaration
 
Public Overloads Sub AppendBoxes(Of T As Jpeg2000MultiBox)( _
   ByVal fileName As String, _
   ByVal boxes As List(Of T) _
) 
'Usage
 
Dim instance As Jpeg2000Engine
Dim fileName As String
Dim boxes As List(Of T)
 
instance.AppendBoxes(Of T)(fileName, boxes)
public void AppendBoxes<T>( 
   string fileName,
   List<T> boxes
)where T: Jpeg2000MultiBox
 function Leadtools.Jpeg2000.Jpeg2000Engine.AppendBoxes``1(String,List{``0})( 
   fileName ,
   boxes 
)
public:
void AppendBoxesgeneric<typename T>
( 
   String^ fileName,
   List<T^>^ boxes
) 
where T: Jpeg2000MultiBox

Parameters

fileName
System.String containing the name of the JPEG 2000 file.
boxes
A list of Jpeg2000MultiBox objects containing the box data being appended.

Type Parameters

T
Remarks

According to the JPEG 2000 standard a ResolutionBox cannot be appended to a file. Set it using the SetBox method. Attempting to append a ResolutionBox will cause an invalid parameter exception to be thrown.

Example
For an example, refer to Leadtools.Jpeg2000.Jpeg2000Engine.SaveComposite(RasterCodecs codecs, string fileName, List<CompositeJpxImages> compositeImages, Jpeg2000FileFormat format, int bitsPerPixel, int qualityFactor) example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Jpeg2000Engine Class
Jpeg2000Engine Members
Overload List
AppendBox
AppendBoxes(Stream, List)
AppendFrames
AppendGmlData
ReadBox
Compression Using LEAD and JPEG Formats
File Formats - JPEG And LEAD Compressed
Bitmaps In Memory And In Files
JPEG2000 File Comments
JPEG And LEAD File Comments
Programming with JPEG 2000 Features
JPEG 2000 Boxes

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Jpeg2000 requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features